package com.zueb.pojo;

public class Classes {
    private Integer classId;
    private Integer facultyId;
    private String className;
    private Faculty faculty;

    public Classes() {
    }

    public Classes(Integer classId, Integer facultyId, String className, Faculty faculty) {
        this.classId = classId;
        this.facultyId = facultyId;
        this.className = className;
        this.faculty = faculty;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getFacultyId() {
        return facultyId;
    }

    public void setFacultyId(Integer facultyId) {
        this.facultyId = facultyId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Faculty getFaculty() {
        return faculty;
    }

    public void setFaculty(Faculty faculty) {
        this.faculty = faculty;
    }

    @Override
    public String toString() {
        return "Classes{" +
                "classId=" + classId +
                ", facultyId=" + facultyId +
                ", className='" + className + '\'' +
                ", faculty=" + faculty +
                '}';
    }
}
